body {
  margin: 0;
  padding: 0;
}

// .box {
//   width: 100px;
//   height: 100px;
//   background-color: #000;
// }

// #toggler:checked + label .box {
//   background-color: cyan;
// }

#toggler {
  display: none;

  &:checked + label .hamburger-container span:nth-child(1) {
    transform: rotate(45deg);
    top: 4px;
    transition: top .3s ease-in-out, transform .3s ease-in-out .3s;
  }

  &:checked + label .hamburger-container span:nth-child(2) {
    transform: rotate(-45deg);
    top: -4px;
    transition: top .3s ease-in-out, transform .3s ease-in-out .3s;
  }

  &:checked ~ .nav-items {
    transform: scaleY(1);
    opacity: 1;
  }
}

header {
  background-color: #000;
  height: 44px;
  padding: 0 18px;
}

.hamburger-container {
  display: block;
  width: 20px;
  height: 20px;
  position: relative;
  top: 16px;

  span{
    position: relative;
    display: block;
    height: 1px;
    background-color: #fff;
    // transition: all .3s ease-in-out;
    transition: transform .3s ease-in-out, top .3s ease-in-out .3s;
    top: 0;

    &:nth-child(2) {
      margin-top: 7px;
    }
  }
}

.nav-items {
  background-color: rgba(0, 0, 0, .82);
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 44px;
  left: 0;
  transform: scaleY(0);
  transition: transform .3s ease-in-out .3s, opacity .3s ease-in-out .3s;
  transform-origin: 50% 0;
  opacity: 0;

  ul {
    margin-top: 1rem;

    li {
      color: #fff;
    }
  }
}